﻿using SqlSugar;

namespace Process.Api.DTO.InputDTO
{
    public class AddProcessDTO
    {
       

        [SugarColumn(ColumnName = "ProcessName", Length = 100, IsNullable = false)]
        public string ProcessName { get; set; } // 工序名称

        [SugarColumn(ColumnName = "ProcessExplain", Length = 500, IsNullable = true)]
        public string ProcessExplain { get; set; } // 工序说明

        [SugarColumn(ColumnName = "ProcessDesc", Length = 500, IsNullable = true)]
        public string ProcessDesc { get; set; } // 工序备注

        [SugarColumn(ColumnName = "ProcessHead", Length = 50, IsNullable = true)]
        public string ProcessHead { get; set; } // 工序负责人

        [SugarColumn(ColumnName = "ProcessDepartment", Length = 100, IsNullable = true)]
        public long ProcessDepartment { get; set; } // 工序部门

        [SugarColumn(ColumnName = "Processworkshop", Length = 100, IsNullable = true)]
        public long Processworkshop { get; set; } // 工序车间

        [SugarColumn(ColumnName = "ProcessMaterials", Length = 200, IsNullable = true)]
        public string ProcessMaterials { get; set; } // 工序物料

        [SugarColumn(ColumnName = "ProcessadEnable", IsNullable = false, DefaultValue = "1")]
        public bool ProcessadEnable { get; set; } = false; // 是否启用，默认为启用
    }
}
